
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Overview of debugging and running applications </TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp262.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp264.htm" >Next</A>
<!-- End Header -->
<A NAME="CAIBEIDE"></A><h1>Overview of debugging and running applications </h1>
<A NAME="TI9241"></A><p>After you build all or part of an application and compile
and save its objects, you can run the application. The PowerBuilder
development environment provides two ways to run an application:
in debug mode and in regular mode.</p>
<A NAME="TI9242"></A><h4>Debug mode</h4>
<A NAME="TI9243"></A><p>In debug mode, you can insert breakpoints (stops) in scripts
and functions, single-step through code, and display the contents
of variables to locate logic errors that will result in errors at
runtime.</p>
<A NAME="TI9244"></A><h4>Regular mode</h4>
<A NAME="TI9245"></A><p>In regular mode, the application responds to user interaction
and runs until the user stops it or until a runtime error occurs.
This is the mode you and your users will use to run the completed
application.</p>
<A NAME="TI9246"></A><p>You can also collect trace information while you run your
application in regular mode, then use the trace data to profile
your application. For more information, see <A HREF="pbugp266.htm#CAICJCMK">Chapter 33, "Tracing and Profiling Applications ."</A></p>
<A NAME="TI9247"></A><p>This chapter describes:<A NAME="TI9248"></A>
<ul>
<li class=fi>Running
applications in debug mode</li>
<li class=ds>Running applications in regular mode
</li>
</ul>
</p>

